var result_23_1 = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"", "MSG":"","DATA":"","RULE":"23-1"}');
var JSON_PRICE_LOCKLIST = !isNull(JSON_PRICE_LOCK_LIST) ? JSON.parse(JSON_PRICE_LOCK_LIST) : [];

if (!isNull(JSON_PRICE_LOCKLIST[0])) {
  if (JSON_PRICE_LOCKLIST[0].LOCK_LEVEL == 'P') {
    if (TRAIT_STORE_NBR != 45 && TRAIT_STORE_NBR != 24834) {
      result_23_1.CODE = 2;
      result_23_1.ACTION = "CHECKING_REPORT";
      result_23_1.MSG = "商品为部分锁价，只允许45或24834变价。";
    }
  }
}

JSON.stringify(result_23_1);